<%@ page contentType="text/html;charset=UTF-8" %>
<!doctype html>
<%@ include file="/common/head.jsp"%>
<script src="${pageContext.request.contextPath}/common/kindeditor/kindeditor-min.js" language="javascript"></script>
<script src="${pageContext.request.contextPath}/common/kindeditor/lang/zh_CN.js" language="javascript"></script>
<script src="${pageContext.request.contextPath}/sample/editor/EditorHead.js" language="javascript"></script>
<script>
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="content"]', {
            allowFileManager : true
        });
    });
</script>
</head>
<body class="mainBody">
<form method="post" name="myform" id="myform">
<table border="0" cellpadding="0" cellspacing="0" class="formTable">
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
    <tr>
        <td class="formTableL">&#160;</td>
        <td width="100%" class="formTableC">
            <table align="center" border="0" cellpadding="0" cellspacing="2" class="formTableCore">
                <tr>
                    <td class="formField">
                        <textarea name="content" style="width:100%;height:400px;visibility:hidden;">${content}</textarea>
                    </td>
                </tr>
                <tr>
                    <td class="formField">
                        <button class="formButton" name="bBean" id="bBean" onclick="defaultEditor()">提交</button>
                    </td>
                </tr>
                <tr>
                    <td class="formField">${content}</td>
                </tr>
            </table>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
</table>
</form>
</body>
</html>
